<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::Batch&lt; T &gt; Struct Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="structshark_1_1_batch.html">Batch</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">shark::Batch&lt; T &gt; Struct Template Reference</div></div>
</div><!--header-->
<div class="contents">

<p>class which helps using different batch types  
 <a href="structshark_1_1_batch.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_batch_interface_8h_source.html">shark/Data/BatchInterface.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::Batch&lt; T &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="structshark_1_1_batch__inherit__graph.png" border="0" usemap="#ashark_1_1_batch_3_01_t_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_batch_3_01_t_01_4_inherit__map" id="ashark_1_1_batch_3_01_t_01_4_inherit__map">
<area shape="rect" title="class which helps using different batch types" alt="" coords="251,43,378,69"/>
<area shape="rect" title=" " alt="" coords="5,5,203,106"/>
<area shape="poly" title=" " alt="" coords="218,53,250,53,250,58,218,58"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class T&gt;<br />
struct shark::Batch&lt; T &gt;</div><p>class which helps using different batch types </p>
<p>e.g. creating a batch of a single element or returning a single element when the element type is arithmetic, like int,double, std::complex,... the return value will be a linear algebra compatible vector, like RealVector. If it is not, for example a string, the return value will be a std::vector&lt;T&gt;. <br  />
 </p>

<p class="definition">Definition at line <a class="el" href="_batch_interface_8h_source.html#l00239">239</a> of file <a class="el" href="_batch_interface_8h_source.html">BatchInterface.h</a>.</p>
</div><hr/>The documentation for this struct was generated from the following file:<ul>
<li>include/shark/Data/<a class="el" href="_batch_interface_8h_source.html">BatchInterface.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
